package com.suxin.netty.remoting;

import io.netty.channel.ChannelHandlerContext;

/**
 * @author Tang
 * @classname NettyRequestProcessor
 * @description [ 请求处理器 ]
 * @date 2022/12/11 15:45
 */
public interface NettyRequestProcessor {

    /**
     * processRequest
     * @param ctx
     * @param rc
     * @return
     */
    RemotingCommand processRequest(ChannelHandlerContext ctx,RemotingCommand rc);

}
